NIELIT O Level Exam

What does random.shuffle(x) do when x = [1, 2, 3]?

What does random.shuffle(x) do when x = [1, 2, 3]?

जब x = [1, 2, 3] रैंडम.शफल (x) क्या करता है?

A. error एरर

B. do nothing, it is a placeholder for a function that is yet to be implemented कुछ भी न करें, यह एक फ़ंक्शन के लिए एक प्लेसहोल्डर है जिसे अभी तक लागू नहीं किया गया है

C. shuffle the elements of the list in-place सूची के एलिमेंट्स को इन-प्लेस में शफल करें

D. none of the mentioned उल्लेखित कोई नहीं




Correct Answer is :

C. shuffle the elements of the list in-place



Explanation
The elements of the list passed to it are shuffled in-place.
Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad